package com.zrrd.jt_admin.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author wanjl
 * @since 2024-06-25
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Rule implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    protected Integer id;

    /**
     * 父级id
     */
    protected Integer ruleId;

    /**
     * 状态0关闭1启用
     */
    protected Boolean status;

    protected Integer createTime;

    protected Integer updateTime;

    protected String name;

    /**
     * 前端路由name值
     */
    protected String description;

    /**
     * 前台路由注册路径
     */
    protected String frontpath;

    protected String conditions;

    /**
     * 是否显示为菜单：0不显示1关闭
     */
    protected Boolean menu;

    /**
     * 排序
     */
    protected Integer ordered;

    /**
     * 图标
     */
    protected String icon;

    /**
     * 请求类型
     */
    protected String method;


}
